Skip to content

Chrome 140 added ReadableStreamBYOBReader options.min#27156

Merged
caugner merged 8 commits intomdn:mainfrom
snehagarwal1:update-min-feature-chrome-compat
Jul 1, 2025
Merged

Chrome 140 added ReadableStreamBYOBReader options.min#27156
caugner merged 8 commits intomdn:mainfrom
snehagarwal1:update-min-feature-chrome-compat

Conversation

@snehagarwal1
Copy link
Copy Markdown
Contributor

Summary

The read() method of ReadableStreamBYOBReader was introduced in Chrome 89, but the options.min parameter was not fully supported until Chrome 140.

This change marks full support for options.min parameter in 140. Also mirrors this change to Edge and Chrome for Android.

Test results and supporting details

Related issues

… Chrome 140

The read() method of ReadableStreamBYOBReader was introduced in Chrome 89, 
but the options.min parameter was not fully supported or reliable until Chrome 140.

This change marks full support for options.min parameter in 140.
Also mirrors this change to Edge and Chrome for Android.
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jun 26, 2025
@github-actions github-actions bot added the size:xs [PR only] 0-6 LoC changed label Jun 26, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 26, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Copy link
Copy Markdown
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM overall.

Please see the failing check:

 Status - 1 problem (1 error, 0 warnings):
 ✖ api.ReadableStreamBYOBReader.read.options_min_parameter - Error → Experimental should be set to false as the feature is supported in multiple browser engines.
   ◆ Tip: Run npm run fix to fix this problem automatically

Comment thread api/ReadableStreamBYOBReader.json
@snehagarwal1
Copy link
Copy Markdown
Contributor Author

Thanks, LGTM overall.

Please see the failing check:

 Status - 1 problem (1 error, 0 warnings):
 ✖ api.ReadableStreamBYOBReader.read.options_min_parameter - Error → Experimental should be set to false as the feature is supported in multiple browser engines.
   ◆ Tip: Run npm run fix to fix this problem automatically

Thank you for the review Claas,

The feature initially landed in 139 but was only enabled as experimental. In Chrome 140, it’s promoted to stable, so I think it makes more sense to mark it as 140 rather than 139? Please let me know if that's ok

Thanks.

@caugner caugner changed the title Update ReadableStreamBYOBReader.json: full support for options.min in chrome 140 Chrome 140 added ReadableStreamBYOBReader options.min Jul 1, 2025
Comment thread api/ReadableStreamBYOBReader.json Outdated
@caugner caugner merged commit f69e571 into mdn:main Jul 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:xs [PR only] 0-6 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants